package com.ruoyi.system.domain.module.product;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 库存对象 product_sku
 *
 * @author ruoyi
 * @date 2021-08-11
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("product_sku")
public class ProductSku implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 商品ID
     */
    private Long productId;

    /**
     * SKU属性
     */
    private String skuAttr;

    /**
     * 总价格
     */
    private BigDecimal price;

    /**
     * 库存
     */
    private Long leftCount;

    /**
     * SKU销量
     */
    private Long skuSellCount;

    /**
     * 评论数量
     */
    private Long commentCount;

}
